package priv.yiyuan.example.design.facade;

/**
 * 客户数据存储
 * <p>
 * 外观模式子系统类
 *
 * @author YiYuan
 * @data 2025/9/13
 * @apoNote
 */
public class CustomerRepository {

    public void save(Customer customer) {
        System.out.println("客户仓库: 保存客户信息 -> " + customer);
    }

    public Customer findById(String customerId) {
        System.out.println("客户仓库: 查找客户ID -> " + customerId);
        return new Customer(customerId, "张三", "test@example.com", "Normal");
    }

}
